package cn.school.notice.entity;

import cn.school.common.BaseVO;
import cn.school.common.utils.SysUserUtils;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("t_school_notice_user")
public class SchoolNoticeUser extends BaseVO {
    private static final long serialVersionUID = 435141387005764487L;

    @ApiModelProperty(value = "通知ID")
    private String noticeId;

    @ApiModelProperty(value = "班级ID")
    private String classId;

    @ApiModelProperty(value = "通知接收人账号，老师是用户名，学生是id")
    private String recipient;

    @ApiModelProperty(value = "接收人类型 1-学生 2-老师")
    private String recipientType;

    @ApiModelProperty(value = "是否已读 0-未读 1-已读")
    private String status;
    /**
     * 默认租户为当前登录人的租户
     */
    private String tenantId = SysUserUtils.getSysUser().getTenantId();


}
